package com.branch;

public class SwitchWork4 {

	public static void main(String[] args) {
		int x = 2, y = 3;

		switch (x) {

		case 3:
			y++;
			break;
		case 4:
			y++;
		default:
			y++;
		}

		System.out.println("y=" + y);
	}

}
